package me.zhengjie.pm.projectstage.service.dto;

import lombok.Data;
import me.zhengjie.pm.projectbase.service.dto.ProjectBaseDto;
import me.zhengjie.pm.projectstageprogress.service.dto.ProjectStageProgressDto;
import java.sql.Timestamp;
import java.io.Serializable;
import java.util.List;

/**
* @author ZGZ
* @date 2020-04-14
*/
@Data
public class ProjectStageDto implements Serializable {

    /** ID */
    private Integer id;

    /** 项目ID */
    private Integer projectId;
    /** 项目dto */
    private ProjectBaseDto projectBase;

    /** 项目阶段名称 */
    private String stageName;

    /** 项目阶段描述 */
    private String stageDesc;

    /** 预期起始时间 */
    private Timestamp planStartTime;

    /** 预期完成时间 */
    private Timestamp planFinishTime;

    /** 实际阶段开始时间 */
    private Timestamp startTime;

    /** 实际阶段结束时间 */
    private Timestamp endTime;

    /** 阶段在整个项目占比 */
    private Double ratio;

    /** 阶段工作完成状态 */
    private String workState;

    private List<ProjectStageProgressDto> progressList;
}